package com.ucode.model.cgms.convert;

import com.ucode.model.cgms.CgmsSpecialZone;
import com.ucode.model.cgms.form.CgmsSpecialZoneForm;
import com.ucode.model.cgms.vo.CgmsSpecialZoneVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface CgmsSpecialZoneConvert {

    CgmsSpecialZoneConvert INSTANCE = Mappers.getMapper(CgmsSpecialZoneConvert.class);

    CgmsSpecialZone convert(CgmsSpecialZoneForm form);

    CgmsSpecialZoneVO convert(CgmsSpecialZone bean);

    Paginator<CgmsSpecialZoneVO> convertPage(Paginator<CgmsSpecialZone> page);

    List<CgmsSpecialZoneVO> convertList(List<CgmsSpecialZone> list);

}


